<div id="api_key_settings" class="accordion-group">
    <header class="accordion-heading">
        <h5>
          <%= link_to t('settings.api_key.briefing'), "javascript:void(0);", class: 'accordion-toggle', "data-toggle" => 'collapse', "data-parent" => "#settings-accordion", "data-target" => "#api_key_settings_content" %></h5>
    </header>
    
    <div class="content settings_content collapse" id="api_key_settings_content">
        <div class="settings_block">
            <div class="form_row">
               <%=t('settings.api_key.explanation') %>: <span id="api_token"><%= current_subject.authentication_token.blank? ? t('settings.api_key.empty') : current_subject.authentication_token %></span>
            </div>
            <div class="form_sub_row">
                <%= link_to t('settings.api_key.regenerate'), api_keygen_path(:api_settings => true), :confirm => t('settings.api_key.confirm'), :remote => true  %>
            </div>

        </div>
    </div>
</div>
